package com.yegs.jltqc.dao;

import com.yegs.jltqc.VO.RpProduce;
import com.yegs.jltqc.VO.RpStock;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface RpStockRepository extends JpaRepository<RpStock,Long> {

    RpStock findFirstByIdIsAfter(Long id);

    RpStock findFirstByIdBeforeOrderByIdDesc(Long id);

    RpStock findFirstByOrderById();

    RpStock findFirstByOrderByIdDesc();

}
